/**
 * 
 */
package com.wkr.action;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author 天下有雪
 *
 */
@Controller
public class SkipAction {
	@RequestMapping("/Skip")
	public String Skip(String url) {
		return url;
	}
	
	@RequestMapping("/jump")
	public ModelAndView jump2(String pg,Long uid) {
		// 返回视图uri以及缓存变量uid
		ModelAndView mav = new ModelAndView(pg, new ModelMap("empid",uid));
		// 直接返回跳转的页面路径
		return mav;
	}
}
